﻿using System;
using System.Collections.Generic;

namespace Chengheng.Entity.Models;

/// <summary>
/// 采购_入库单
/// </summary>
public partial class PurchaseWarehousingorder
{
    public long Id { get; set; }

    /// <summary>
    /// 实付金额
    /// </summary>
    public decimal? ActualAmount { get; set; }

    /// <summary>
    /// 是否审核 0 未审核 1 审核
    /// </summary>
    public sbyte? Audit { get; set; }

    /// <summary>
    /// 采购审核日期
    /// </summary>
    public DateOnly? AuditDate { get; set; }

    /// <summary>
    /// 采购入库日期
    /// </summary>
    public DateOnly? Date { get; set; }

    /// <summary>
    /// 优惠金额
    /// </summary>
    public decimal? DiscountAmount { get; set; }

    /// <summary>
    /// 应付金额
    /// </summary>
    public decimal? DueAmount { get; set; }

    /// <summary>
    /// 欠款金额
    /// </summary>
    public decimal? OwedAmount { get; set; }

    /// <summary>
    /// 付款方式
    /// </summary>
    public string? PaymentMethod { get; set; }

    /// <summary>
    /// 门店
    /// </summary>
    public string? Shop { get; set; }

    /// <summary>
    /// 供应商
    /// </summary>
    public string? Supplier { get; set; }

    /// <summary>
    /// 票号
    /// </summary>
    public string? TicketNumber { get; set; }

    /// <summary>
    /// 总数量
    /// </summary>
    public int? TotalQuantity { get; set; }

    /// <summary>
    /// 仓库
    /// </summary>
    public string? Warehouse { get; set; }

    public long TenantId { get; set; }

    public virtual ICollection<PurchaseWarehousingorderDetail> PurchaseWarehousingorderDetails { get; set; } = new List<PurchaseWarehousingorderDetail>();
}
